package com.zuxia.service;

import com.zuxia.dto.DumpDto;
import com.zuxia.entity.Dump;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zuxia.param.CoordinateParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author laoli
 * @since 2024-11-17
 */
public interface DumpService extends IService<Dump> {
    //根据距离排序查询距离最近的取货点
    List<DumpDto> getDumpByNear(CoordinateParam coordinateParam);
    //根据id查询取货点信息
    Dump getDumpById(String id);
}
